<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class admin_ModulesController</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class admin_ModulesController</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Controller to manage modules/controllers/actions to be able to generate ACL resorces  for access permissions validation. Modules/controllers/action are stored in tree structure.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Konstantin Shamko &lt;<a href="mailto:konstantin.shamko@gmail.com">konstantin.shamko@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> 0.0.1</li>
				<li><span class="field">copyright:</span> Copyright (c) 2009 Konstantin Shamko</li>
				<li><span class="field">license:</span> New</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_app---controllers---admin---ModulesController.php.html">/app/controllers/admin/ModulesController.php</a> (line <span class="field">15</span>)
		</p>
		
				
		<pre>Zend_Controller_Action
   |
   --<a href="../../Bel/Bel_Controller.html">Bel_Controller</a>
      |
      --<a href="../../Bel/Bel_Controller_Tree.html">Bel_Controller_Tree</a>
         |
         --admin_ModulesController</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<span class="var-type"><a href="../../Usermanagement/Model/Models_Usermanagement_Modules.html">Models_Usermanagement_Modules</a></span>
					<a href="#$_tree" title="details" class="var-name">$_tree</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																				
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addnodeAction" title="details" class="method-name">addnodeAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#editnodeAction" title="details" class="method-name">editnodeAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#indexAction" title="details" class="method-name">indexAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#init" title="details" class="method-name">init</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$_tree" id="$_tree"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../../Usermanagement/Model/Models_Usermanagement_Modules.html">Models_Usermanagement_Modules</a></span>
			<span class="var-name">$_tree</span>
						(line <span class="line-number">23</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Modules Model</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Bel/Bel_Controller_Tree.html#var$_tree">Bel_Controller_Tree::$_tree</a></dt>
						<dd>Data model (instance of Bel_Model_Tree children)</dd>
					</dl>
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../Bel/Bel_Controller_Tree.html">Bel_Controller_Tree</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_add_form_action">Bel_Controller_Tree::$_add_form_action</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_default_action">Bel_Controller_Tree::$_default_action</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_edit_form_action">Bel_Controller_Tree::$_edit_form_action</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_formname">Bel_Controller_Tree::$_formname</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_form_add_action">Bel_Controller_Tree::$_form_add_action</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_form_edit_action">Bel_Controller_Tree::$_form_edit_action</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_form_template">Bel_Controller_Tree::$_form_template</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_id_field">Bel_Controller_Tree::$_id_field</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_move_form_template">Bel_Controller_Tree::$_move_form_template</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller_Tree.html#var$_tree_template">Bel_Controller_Tree::$_tree_template</a></span><br>
							</span>
											</blockquote> 
									<p>Inherited from <span class="classname"><a href="../../Bel/Bel_Controller.html">Bel_Controller</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller.html#var$view">Bel_Controller::$view</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller.html#var$_cache">Bel_Controller::$_cache</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller.html#var$_messages">Bel_Controller::$_messages</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller.html#var$_seo">Bel_Controller::$_seo</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Bel/Bel_Controller.html#var$_validator">Bel_Controller::$_validator</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodaddnodeAction" id="addnodeAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">addnodeAction</span> (line <span class="line-number">57</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds entry to modules table. Checks if module name is unique</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addnodeAction
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Bel/Bel_Controller_Tree.html#methodaddnodeAction">Bel_Controller_Tree::addnodeAction()</a></dt>
						<dd>Adds tree node to a DB</dd>
					</dl>
			
	</div>
<a name="methodeditnodeAction" id="editnodeAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">editnodeAction</span> (line <span class="line-number">72</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Updates entry in modules table. Checks if module name is unique</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			editnodeAction
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Bel/Bel_Controller_Tree.html#methodeditnodeAction">Bel_Controller_Tree::editnodeAction()</a></dt>
						<dd>Modifies specified node in a db</dd>
					</dl>
			
	</div>
<a name="methodindexAction" id="indexAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">indexAction</span> (line <span class="line-number">48</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Displays added modules-controllers-actions.</p>
<p class="description"><p>Displays tree of modules-controllers-actions found automatically</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			indexAction
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Bel/Bel_Controller_Tree.html#methodindexAction">Bel_Controller_Tree::indexAction()</a></dt>
						<dd>Displays tree</dd>
					</dl>
			
	</div>
<a name="methodinit" id="init"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">init</span> (line <span class="line-number">29</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialization</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			init
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Bel/Bel_Controller_Tree.html#methodinit">Bel_Controller_Tree::init()</a></dt>
						<dd>Object init</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Bel/Bel_Controller_Tree.html">Bel_Controller_Tree</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodaddformAction">Bel_Controller_Tree::addformAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodaddnodeAction">Bel_Controller_Tree::addnodeAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methoddeletebranchAction">Bel_Controller_Tree::deletebranchAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodeditformAction">Bel_Controller_Tree::editformAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodeditnodeAction">Bel_Controller_Tree::editnodeAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodindexAction">Bel_Controller_Tree::indexAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodinit">Bel_Controller_Tree::init()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodmovedownAction">Bel_Controller_Tree::movedownAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodmoveformAction">Bel_Controller_Tree::moveformAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodmovenodeAction">Bel_Controller_Tree::movenodeAction()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller_Tree.html#methodmoveupAction">Bel_Controller_Tree::moveupAction()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Bel/Bel_Controller.html">Bel_Controller</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../Bel/Bel_Controller.html#methodinit">Bel_Controller::init()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller.html#method_ifAjax">Bel_Controller::_ifAjax()</a></span><br>
													<span class="method-name"><a href="../../Bel/Bel_Controller.html#method_redirect">Bel_Controller::_redirect()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Mon, 01 Mar 2010 18:58:52 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>